package com.solin.blog.dao.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Table;

/**
 * @author solin
 * @description UserEntiy
 * @since 2021/12/27 14:59
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "t_blog_user")
public class UserEntity {
    @Column(name = "id")
    private Long id;

    @Column(name = "name")
    private String name;

    @Column(name = "password")
    private String password;

    @Column(name = "del_flag")
    private Integer delFlag;
}
